package Testing;

import Model.Buku;

public class TestBuku {

    public static void main(String[] args) {
        
    Buku test = new Buku();
    test.setIdkoleksi("Kom1001");
    test.setJudul("Pemrograman Berorientasi Obyek");
    test.setPenulis("Ir. Parwito");
    test.setPenerbit(" Erlangga");
    test.setIsbn("2341gv687");
    System.out.println("Id Koleksi = "+test.getIdkoleksi());
    System.out.println("Judul = "+test.getJudul());
    System.out.println("Penulis = "+test.getPenulis());
    System.out.println("Penerbit = "+test.getPenerbit());
    System.out.println("ISBN = "+test.getIsbn());
    System.out.println("Judul = "+test.getJudul());
    System.out.println("Terlambat = "+test.isTerlambat(7));
    System.out.println("Denda = "+test.hitungDenda(20));
    }}
    
